rh._.exports({"0":[[" ","Replacing An HTML/JS/CSS Instrument"]],"1":[[" ","In this short tutorial we'll quickly go over the basics required from you to override an existing glasscockpit package that is used in the simulation. In this case it will be the ","Backup Speed Display"," that is used in the ","DA62 sample project","."," ","You are going to make it so that this display will show something different, in this case simply some text that says \"Hello World!\"."," ","NOTE",": This tutorial assumes you have followed the steps outlined on the page ","Setting Up For HTML/JS/CSS Instruments"," to create the instrument package that we will be using to replace an existing gauge."],[" ","The very first thing we'll need to do is create the base HTML, JS and CSS files for the instrument, even though we will be leaving them blank for now. So, in your file explorer you need to navigate to the ","PackageSources"," instrument folder, specifically:"," ","PackageSources\\Copys\\mytestgauge\\BackupSpeedDisplay\\"," ","Once you are in that folder location, you need to create the following three files:"," ","AS1000_SpeedBackup.html"," ","AS1000_SpeedBackup.js"," ","AS1000_SpeedBackup.css"," ","Ensure that the files are named ","exactly"," as shown above, since they have to match the names of the files we want to overwrite. We won't be doing anything else with these files right now, as first we want to go ahead and finish defining the folder structure for the project."],[" ","For your instrument to replace the one in the DA62 - and all other aircraft that use the backup speed display - you will need to change the the project folder architecture, as it ","must reflect the same folder architecture of the gauge in that you want to replace",". In this case the path to the Backup Speed Display in the simulation packages is:"," ",":root\\Official\\Steam\\asobo-vcockpits-instruments-navsystems\\html_ui\\Pages\\VCockpit\\Instruments\\NavSystems\\AS1000_BackupDisplay\\Speed\n// OR\n:root\\Official\\OneStore\\asobo-vcockpits-instruments-navsystems\\html_ui\\Pages\\VCockpit\\Instruments\\NavSystems\\AS1000_BackupDisplay\\Speed\n"," ","Now, you don't need to use the ","whole"," path, just the part that starts with ","html_ui",", due to the way that the ","Virtual File System"," works. So, for your purposes, you'll need to edit your base package (as created ","here",") to reflect this path."," ","NOTE",": For any other glasscockpits that you would like to overwrite, you can find the path by doing the following:"," ","• Looking inside the ","panel.cfg"," file of the aircraft package you want to update, and checking the path of the ","htmlgauge","NN"," parameter for the instrument."," ","• Looking inside the Official package folder and searching for the different ","asobo-vcockpits-instruments-*"," packages. Inside of each of them you'll find a folder architecture similar to ","/html_ui/Pages/VCockpit/Instruments/*",". Just use the part of the path that is appropriate to the instrument you wish to replace."," ","When you have the path, you can then use it to update the package that you have previously created. For that you simply open the project in the Project Editor, then select the ","asset group"," in the package and ensure you have the ","Inspector"," open. In the Inspector you need to add in the relative path to the gauge you want to change. It should look something like this:"," ","You can now go ahead and select the package then click on the ","Build Package"," button. If you go to the project folder and check in ","Packages"," you will see that the three base files have been copied to the correct location within the ","html_ui\\...\\Speed"," folder."],[" ","Now that you've set up the project and created the base files, you can start to edit them to contain the data that will be used to create your instrument."],[" ","In Visual Studio (or your IDE of choice) you can open the file and add the following:"," ","\n\n"," ","This short chunk of HTML is the about as basic is gets to have a functional glasscockpit. Let's briefly go over what we're doing here:"," ","The HTML needs to be inside of a ","